package server;


import java.util.HashMap;
import java.util.Map;

/**
 * @author HuanyuZhou
 * @date 2020/5/29 14:47
 */
public class Context {
    //key为web.xml的url-pattern， value为wrapper。wrapper封装了对应的servlet
    private Map<String,Wrapper> wrapperMap;


    public Context() {
        this.wrapperMap = new HashMap<>();
    }

    public Map<String, Wrapper> getWrapperMap() {
        return wrapperMap;
    }

    public void setWrapperMap(Map<String, Wrapper> wrapperMap) {
        this.wrapperMap = wrapperMap;
    }
}
